import Vue from 'vue'
import Vuex from 'vuex'

import subjectStatus from './subject-status'
import usersManage from './users-manage'
import roleManage from './role-manage'
import projectList from './project-list'
import menuConfig from './menu-config'
import eCRFDesign from './eCRF-design'
import dictionaryManage from './dictionary-manage'
import userData from './user-data'
import solutionVersion from './solution-version'
import projectPersonRoleManage from './project-person-role-manage'
import verificationRule from './verification-rule'
import visitDesign from './visit-design'
import centralManagement from './centralManagement'
import databaseVersionChange from './database-versionChange'
import subjectInformation from './subject-information'
import treatment from './patientReported'
import eCRFDetail from './eCRF-details'
import questioningManagement from './questioning-management'
import tagsView from './modules/tagsView.js'
import highLightMenuRoutePath from './modules/highLightMenuRoutePath.js'
import layoutHeader from './modules/layoutHeader.js'
import reportManagement from './report-management.js'

Vue.use(Vuex)

export default new Vuex.Store({
  modules: {
    subjectStatus,
    usersManage,
    roleManage,
    projectList,
    menuConfig,
    eCRFDesign,
    dictionaryManage,
    userData,
    solutionVersion,
    projectPersonRoleManage,
    verificationRule,
    visitDesign,
    centralManagement,
    databaseVersionChange,
    subjectInformation,
    treatment,
    eCRFDetail,
    questioningManagement,
    tagsView,
    highLightMenuRoutePath,
    layoutHeader,
    reportManagement,
  },
})
